tools: ocaml: lay ground work for auto generating xl datatypes.
authorIan Campbell <ian.campbell@citrix.com>
Wed, 20 Apr 2011 16:13:08 +0000 (17:13 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 20 Apr 2011 16:13:08 +0000 (17:13 +0100)
commite6f1957781e6075ef2a84306040fe7ca135acb77
tree34a1eb8ea7cfb0b41dd9c1ff309df36aa22fa504
parent8e49e3c25664f0765df38b0516f5ec179101e5b8
tools: ocaml: lay ground work for auto generating xl datatypes.

Doesn't actually generate anything yet but puts all the moving parts
into place. In particular sets up the
xl.ml.in+_libxl_types.ml.in->xl.ml transformation using sed. This
appears to be the only/best way to do this for ocaml due to the lack
of a preprocessor and/or an include mechanism which has an inmpact on
namespacing.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
.hgignore
tools/ocaml/libs/xl/Makefile
tools/ocaml/libs/xl/genwrap.py [new file with mode: 0644]
tools/ocaml/libs/xl/xl.ml [deleted file]
tools/ocaml/libs/xl/xl.ml.in [new file with mode: 0644]
tools/ocaml/libs/xl/xl.mli [deleted file]
tools/ocaml/libs/xl/xl.mli.in [new file with mode: 0644]
tools/ocaml/libs/xl/xl_stubs.c